package com.gmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gmall.model.product.BaseCategory;
import com.gmall.model.product.dto.BaseCategoryDTO;
import com.gmall.model.product.dto.Category123IdNameDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseCategoryMapper extends BaseMapper<BaseCategory> {
    List<BaseCategoryDTO> findCategoryTree();

    Category123IdNameDTO findCategory123IdNameDTOByCategory3Id(/*@Param("category3Id")*/ Long category3Id);
}
